import type { RouteRecordRaw } from "vue-router";

// 用户信息包括权限数据
export interface UserInfoState {
  token: string;
  avatar: string;
  name: string;

  menuRoutes: RouteRecordRaw[]; // 用于生成导航菜单的路由列表
}

// 一级二级三级菜单的编写
import type { CatgoryArr } from "@/api/product/attr/type";
// 分类的小仓库
export interface CategoryState {
  c1Arr: CatgoryArr;
  c1Id: number | string;
  c2Arr: CatgoryArr;
  c2Id: number | string;
  c3Arr: CatgoryArr;
  c3Id: number | string;
}
